var express = require('express');
var router = express.Router();
var contacts=require('../data/contacts');

router.use('/contacts', function (req, res, next) {
    setTimeout(function () {
        res.send(contacts);
    },2000);
});

module.exports = router;